<template>
  <div class="footer">
    <div style="margin-right: 10px">开发人员：{{ website.devName }}</div>
    <div>版权所有：{{ website.copy }}</div>
  </div>
</template>

<script>
export default {
  name: 'FooterView',
  data () {
    return {
      website: {}
    }
  },
  created () {
    this.$http.get('api/website').then(data => {
      this.website = data.data
    })
  }
}
</script>

<style scoped>
.footer {
  text-align: center;
  margin-top: 20px;
  background-color: #024C4F;
  color: white;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
